<?php

class Blacklist
{
	protected $iFeedId = null;
	
	protected $aExcludedCategories = array();
	
	protected $aExcludedSKU = array();
	
	protected $fMaxPrice = array();
	
	public function __construct($iFeedId)
	{
		$this->iFeedId = $iFeedId;
	}
	
	public function excludeCategory($iCategoryId)
	{
		if (!in_array($this->aExcludedCategories, $iCategoryId))
			$this->aExcludedCategories[] = $iCategoryId;
	}
	
	public function excludeCategories(array $aCategories)
	{
		foreach ($aCategories as $iCategoryId)
			$this->excludeCategory($iCategoryId);
	}
	
	public function exludeSKU($iSKU)
	{
		if (!in_array($this->aExcludedSKU, $iSKU))
			$this->aExcludedSKU[] = $iSKU;
	}
	
	public function exludeManySKU(array $aSKU)
	{
		foreach ($aSKU as $iSKU)
			$this->exludeSKU($iSKU);
	}
	
	public function excludeByMaxPrice($fPrice)
	{
		$this->fMaxPrice = $fPrice;
	}
	
	public function result()
	{
		
	}
	
}